package com.cloud.feignconsumer.service.impl;

import com.cloud.feignconsumer.service.ProviderService;
import org.springframework.stereotype.Service;

/**
 * 熔断虚拟实现
 *
 * @author kangwen
 */
@Service
public class ProviderServiceFallback implements ProviderService {
	@Override
	public String hello() {
		return "接口容错";
	}

	@Override
	public String timeout(Long ms) {
		return "接口容错";
	}
}
